package com.lukk.constant;
/**
 * 工人类型常量
 * @author Administrator
 *1代表完成订单，4代表工人取消订单，5补差价，6充值，7提现 8：代表代表商家取消订单 9:工人违约(比如工人接单超出时间就是不去等等),
 */
public enum MerchantWalletRecordType {
	
	COMPLETE("COMPLETE",1),
	WORKER_CANCLE("WORKER_CANCLE",4),
	PRICE_DIFFERENCE("PRICE_DIFFERENCE",5),
	RECHARGE("RECHARGE",6),
	WITHDRAWALS("WITHDRAWALS",7),
	MERCHANTS_CANCLE("MERCHANTS_CANCLE",8),
	BREAK_CONTRACT("BREAK_CONTRACT",9);
	
	private String type;
	private Integer index;
	
	private MerchantWalletRecordType(){}
	
	private MerchantWalletRecordType(String type,Integer index){
		this.type=type;
		this.index=index;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}
	
	
	
	
	
	
}
